/**
 * author: 何其沆(pooky)
 * desc: Clients - api
 * date: 2022-03-16
 */
import { post } from '@/utils/request.js'
import api from '@/config/index.js'

export default {
  /**
   * 获取个人端clients分页数据
   * @param data
   * @returns {Promise | Promise<unknown>}
   */
  getClients(data) {
    return post(api.API_VERSION + '/Others/ClientsCommission/QueryPages', data, false)
  },
  /**
   * 获取管理端clients分页数据
   * @param data
   * @returns {Promise | Promise<unknown>}
   */
  getAdminClients(data) {
    return post(api.API_VERSION + '/Admin/Others/ClientsCommission/QueryPages', data, false)
  }
}
